package cn.kgc.InvitationManage.MyTest;

import cn.kgc.InvitationManage.pojo.invitation;
import cn.kgc.InvitationManage.service.InvitationService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import javax.xml.soap.Detail;
import java.util.List;

/**
 * @auhtor 司云杰
 * @create 2020-  01- 15-16:17
 */
public class test {
    @Test
    public void test01() {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        InvitationService invitationService = (InvitationService) context.getBean("invitationService");
        List<invitation> detailList = invitationService.invitationSelectBy("恒大");
        System.out.println(detailList);
    }
}
